package com.authentication.code2Token;

import org.springframework.security.oauth2.server.authorization.token.OAuth2TokenContext;

public interface RefreshTokenRepository {

    void save(String refreshToken, OAuth2TokenContext oAuth2TokenContext);

    OAuth2TokenContext get(String refreshToken);
}
